<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label label-required">邮箱</label>
            <div class="layui-input-block">
                <input name="mail" value='{$vo.mail|default=""}' required placeholder="请输入更换的邮箱" class="layui-input">
                <!--     <button data-modal='{:url("chphone")}' data-title="修改手机号码" type="button" class="layui-btn layui-btn-normal margin-top-20">发送验证</button> -->
            </div>
        </div>


    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>确认</button>
        <button class="layui-btn layui-btn-danger" type='button' data-close>取消</button>
    </div>

    <script>window.form.render();</script>

</form>